
package cc.dd.marketing.core.base;


import cc.dd.marketing.api.request.base.BaseRequest;
import cc.dd.marketing.core.domain.RuleInnerDTO;

/**
 * 数据传输对象解析器
 *
 * @author dongsufeng
 * @date 2022/9/9 2:30 PM
 */
public interface RequestParser<REQ extends BaseRequest,DTO extends RuleInnerDTO> {
    /**
     * 构建活动数据传输对象
     *
     * @param request
     * @return
     */
    RuleInnerDTO buildDTO(REQ request, DTO innerDTO);
}
